package com.chhuang.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chhuang.core.mapper.IBaseMapper;
import com.chhuang.system.po.ChRole;
import com.chhuang.system.po.ChRoleExample;

public interface ChRoleMapper extends IBaseMapper<ChRole>{
	int countByExample(ChRoleExample example) throws Exception;

    int deleteByExample(ChRoleExample example) throws Exception;

    List<ChRole> selectByExample(ChRoleExample example) throws Exception;

    int updateByExampleSelective(@Param("record") ChRole record, @Param("example") ChRoleExample example) throws Exception;

    int updateByExample(@Param("record") ChRole record, @Param("example") ChRoleExample example) throws Exception;
}